bin/delta-compilation: Add a "progress bar" for bsdiff generation
authorColin Walters <walters@verbum.org>
Sun, 29 Oct 2017 11:00:36 +0000 (07:00 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 1 Nov 2017 17:38:26 +0000 (17:38 +0000)
commite885d029aaa7d18128fd91b7552fc97834dd1956
treea0dc70a189f10e167f1aac3ce968aeeef13abc4c
parent62445166fc94ee350caa8e51d6f443dd3583c68a
bin/delta-compilation: Add a "progress bar" for bsdiff generation

It's the slowest part, let's show admins something. This "update every 10%" code
was copied from the fsck command; obviously a better approach would be "progress
every N seconds" but doing that somewhat accurately requires making things
async; not worth it here yet.

Closes: #1314
Approved by: jlebon
src/libostree/ostree-repo-static-delta-compilation.c